package com.snopy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * Hello world!
 *
 */

@SpringBootApplication
@MapperScan("com.snopy.base.mapper")
@ComponentScan(basePackages = {"com.snopy","org.n3r.idworker"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.snopy.base.service"})
public class BaseApplication
{
    public static void main( String[] args )
    {
        SpringApplication.run(BaseApplication.class,args);
    }
}
